package org.apache.struts.ehr.patient_details.model;

import java.util.ArrayList;
import java.util.List;


/**
 * @author Ureka
 *
 */
public class SelectLists  {

	private List<String> genderList;
	private List<String> maritialStatusList;
	private List<ReligiousAffliation> religionList;
	private List<EthnicGroup> ethnicGroupList;
	private List<String>countryList;
	private List<String> prefixList;


    // Constructors

    /** default constructor 
     * @throws Exception */
    public SelectLists() throws Exception {
    	this.setSelectLists();
    }

    public void setSelectLists() throws Exception {
		genderList = new ArrayList<String>();
		genderList.add("Male");
		genderList.add("Female");
		
		maritialStatusList=new ArrayList<String>();
		maritialStatusList.add("Single");
		maritialStatusList.add("Married");
		religionList=new ArrayList<ReligiousAffliation>();
		
		religionList.add(new ReligiousAffliation(1,"BU","Buddhism"));
		religionList.add(new ReligiousAffliation(2,"MU","Muslim"));
		ethnicGroupList=new ArrayList<EthnicGroup>();
		ethnicGroupList.add(new EthnicGroup(1,"SI","Sinhalese"));
		ethnicGroupList.add(new EthnicGroup(2,"TA","Tamil"));
		
		countryList=new ArrayList<String>();
		countryList.add("Sri Lanka");
		countryList.add("USA");
		
		prefixList=new ArrayList<String>();
		prefixList.add("Rev");
		prefixList.add("Mr");
		prefixList.add("Ms");
		prefixList.add("Miss");
		prefixList.add("Mrs");
		
		
	}

	public List<String> getGenderList() {
		return genderList;
	}

	public void setGenderList(List<String> genderList) {
		this.genderList = genderList;
	}

	public List<String> getMaritialStatusList() {
		return maritialStatusList;
	}

	public void setMaritialStatusList(List<String> maritialStatusList) {
		this.maritialStatusList = maritialStatusList;
	}

	public List<ReligiousAffliation> getReligionList() {
		return religionList;
	}

	public void setReligionList(List<ReligiousAffliation> religionList) {
		this.religionList = religionList;
	}

	public List<EthnicGroup> getEthnicGroupList() {
		return ethnicGroupList;
	}

	public void setEthnicGroupList(List<EthnicGroup> ethnicGroupList) {
		this.ethnicGroupList = ethnicGroupList;
	}

	public List<String> getCountryList() {
		return countryList;
	}

	public void setCountryList(List<String> countryList) {
		this.countryList = countryList;
	}

	public List<String> getPrefixList() {
		return prefixList;
	}

	public void setPrefixList(List<String> prefixList) {
		this.prefixList = prefixList;
	}
	
    
}
